package com.xbongbong.paas.model;

import com.xbongbong.paas.domain.entity.BusinessRuleLogEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
import java.util.Map;

/**
 * PAAS 业务规则日志服务层
 *
 * @author 吴峰
 * @date 2020/6/9 19:53
 */
public interface BusinessRuleLogModel extends IModel<BusinessRuleLogEntity> {

    /**
     * 插入实体
     *
     * @param entity 实体
     *
     * @return Integer MyBatis操作结果 1：成功
     */
    @Override
    Integer insert(BusinessRuleLogEntity entity);

    @Override
    List<BusinessRuleLogEntity> findEntitys(Map<String, Object> param);

    Integer delete(String corpid, Long id);

}
